package animals;

public class Rabbit extends Animal {

    private int age;
    Rabbit(int age) {
        super(10.0, "gray");
        this.age = age;
    }

    public void eat() {
        System.out.println("吃萝卜");
    }
    public void sleep() {
        System.out.println("躺着睡");
    }
}